#pragma once
#include "Buffer.h"

class CPackIn
{
public:
	CPackIn();
	~CPackIn();

public:
	bool		ResetBuffer();
	CBuffer		GetBuffer();

	bool		AddByte(byte cByte);
	bool		AddWord(WORD wWord);
	bool		AddInt(int nInt);
	bool		AddDWord(DWORD dwDWrod);
	bool		AddString(CString strString);
	bool		AddString(CStringA strString);
	bool		Append(char* pBuffer, int nLen);

private:
	CBuffer		m_strBuffer;
};
